#ifndef _APP_NVS_PARAM_H
#define _APP_NVS_PARAM_H
#include <stdbool.h>
#include "esp_err.h"

typedef struct
{
    /* data */
    char url[60];
    char username[20];
    char password[20];
}mqtt_nvs_param;

typedef mqtt_nvs_param* mqtt_nvs_param_t;

esp_err_t app_set_mqtt_param(mqtt_nvs_param_t data);
esp_err_t app_get_mqtt_param(mqtt_nvs_param_t data);

#endif